<template>
  <div>
    <newAddarea @back="$router.go(-1)" />
  </div>
</template>

<script>
import newAddarea from '../components/newAddarea.vue'
export default {
  components: {
    newAddarea
  },
  data() {
    return { // 路由传过来的id
      id: ''
    }
  },
  created() {
    this.id = this.$route.params.id
  }
}
</script>

<style>
</style>
